import {tracking} from "../Model/Tracking"
import { http } from '../utils/http'

interface  mdparams{
  timeList:tracking[],

}
interface tokenData {
  data: string,
  message: string,
  code: number
}
export  interface timeList{
  timeList:tracking[]
}


export const trackingtime = (data:mdparams): Promise<tokenData> => {
  return http.post<tokenData>("time/tracking",data)
}

